input_text = "This это Текст написанный с консоли"
count_words = 0
i = 0
word_now = ""
while i < len(input_text):
 if input_text[i] == " ":
    count_words += 1
    print(word_now)
    word_now = ""
else:
    word_now += input_text[i]
    i += 1
print(word_now)
